<script lang='ts' setup>
defineProps<{
  title: string
}>()
</script>

<template >
  <div class="properties-panel">
    <div class="properties-panel-header">
      <div class="properties-panel-header-title">
        {{  title }}
      </div>
    </div>
    <div class="properties-panel-content">
      <slot />
    </div>
  </div>
</template>

<style scoped lang='scss'>
.properties-panel {
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #111;
  .properties-panel-header {
    .properties-panel-header-title {
      font-size: 12px;
      font-weight: bold;
      color: #fff;
    }
  }
  .properties-panel-content {
    padding: 10px 10px 0px 10px;
    display: inline-block;
  }

}
</style>
